const rightListReducer = (prevState=[],action)=>{  
  let {type,payload} = action;
  switch(type){
      case "SetRightList":
          var newstate = [...prevState,...payload]
          return newstate
      default:
          return prevState
  }

}// 只要状态已返回， 自动同步了
export default rightListReducer
